{if isset($info)}	
	{image path=$info.image type=7}
    <div class="info">
    	{image userid=$info.userid viewid=$AppUI->id type=1 small=2 class="border50 lFloat"}
        <ul>
            <li><h4><a href="{vfriend_username userid=$info.userid viewid=$AppUI->id}" class="white">{$info.userid|ouser}</a></h4></li>
            {if $info.notes != ""}
                <li>{$info.notes}</li>
            {/if}
            <li>
                Đăng ảnh ngày {$info.postdate|date_format:"%d/%m/%Y %H:%M"}
                <div>
                	<span><a href="{if $AppUI->id > 0}javascript:;{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}" {if $AppUI->id > 0}onclick="javascript:likeImage({$info.placeid},{$info.pimageid});"{/if}>Thích</a>&nbsp;(<a href="#" id="ilike">{$info.tlike|number_format}</a>)</span>
                    {if $info.statuses != 1}
                    	{if $AppUI->id > 0 && ($AppUI->id == $row.userid || $AppUI->id == $info.userid)}
                        	<span><a href="javascript:;" onclick="javascript:deleteImg({$info.placeid},{$info.pimageid},'{$info.pimageid|secret:$smarty.const.SE_PLACE_DELETE_IMG}');">Xóa ảnh</a></span>
                        {else}
                        	<span><a href="{if $AppUI->id > 0}javascript:report(0,{$info.pimageid},9);{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}">Báo vi phạm</a></span>
                       	{/if}                    
                    {/if}
                </div>
            </li>
            
        </ul>
    </div>
{else}
	{if $arrImage}
		{image path=$arrImage.0.image type=7}
        <div class="info">
        	{image userid=$arrImage.0.userid viewid=$AppUI->id type=1 small=2 class="border50 lFloat"}
            <ul>
            	<li><h4><a href="{vfriend_username userid=$arrImage.0.userid viewid=$AppUI->id}" class="white">{$arrImage.0.userid|ouser}</a></h4></li>
                {if $arrImage.0.notes != ""}
                	<li>{$arrImage.0.notes}</li>
                {/if}
                <li>
                	Đăng ảnh ngày {$arrImage.0.postdate|date_format:"%d/%m/%Y %H:%M"}
                    <div>
                    	<span><a href="{if $AppUI->id > 0}javascript:;{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}" {if $AppUI->id > 0}onclick="javascript:likeImage({$arrImage.0.placeid},{$arrImage.0.pimageid});"{/if}>Thích</a>&nbsp;(<a href="javascript:;" id="ilike">{$arrImage.0.tlike|number_format}</a>)</span>
                        {if $arrImage.0.statuses != 1}
                        	{if $AppUI->id > 0 && ($AppUI->id == $row.userid || $AppUI->id == $arrImage.0.userid)}
                            	<span><a href="javascript:;" onclick="javascript:deleteImg({$arrImage.0.placeid},{$arrImage.0.pimageid},'{$arrImage.0.pimageid|secret:$smarty.const.SE_PLACE_DELETE_IMG}');">Xóa ảnh</a></span>
                           	{else}
                            	<span><a href="{if $AppUI->id > 0}javascript:report(0,{$arrImage.0.pimageid},9);{else}{$smarty.const.LINK_INDEX_LOGIN}{/if}">Báo vi phạm</a></span>
                          	{/if}
                        {/if}
                  	</div>                    
                </li>
                
            </ul>
        </div>
    {/if}
{/if}